package org.linlinjava.litemall.wx.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class IdCardDTO {

    private Integer id;

    @NotNull
    private String type;

    @NotNull
    private String cardNo;

    @NotNull
    private String holdUser;

    @NotNull
    private String expiredMonth;

    @NotNull
    private String cvv;

    private Integer userId;

    private Integer addressId;

    private LocalDateTime addTime;

    private LocalDateTime updateTime;

    private Boolean deleted;
}
